package Facade;

import easyaccept.EasyAcceptFacade;
import java.util.ArrayList;
import java.util.List;

import server.br.edu.ufcg.dsc.si.blog.webservice.BlogWS;
import server.br.edu.ufcg.dsc.si.blog.webservice.BlogWSImpl;

public class FacadeBlogao {

	public static void main(String[] args) throws Exception {
		List<String> files = new ArrayList<String>();
		
		String tests_path = "testes/";

		files.add(tests_path + "us1.txt");
		files.add(tests_path + "us2.txt");
		files.add(tests_path + "us3.txt");
		files.add(tests_path + "us4.txt");
		files.add(tests_path + "us5.txt");
		files.add(tests_path + "us6.txt");
		files.add(tests_path + "us7.txt");
		files.add(tests_path + "us8.txt");
		files.add(tests_path + "us9.txt");	
		files.add(tests_path + "us10.txt");
		files.add(tests_path + "us11.txt");
		files.add(tests_path + "us12.txt");
		files.add(tests_path + "us13.txt");
		files.add(tests_path + "us14.txt");
		
		BlogWS facadeBlogao = new BlogWSImpl();
		EasyAcceptFacade eaFacade = new EasyAcceptFacade(facadeBlogao, files);
		eaFacade.executeTests();
		System.out.println(eaFacade.getCompleteResults());
		
	}
}
